﻿ 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HouodeFun.TrainCenter.Model;
using HouodeFun.TrainCenter.DAL;
using HouodeFun.TrainCenter.IBLL;

namespace HouodeFun.TrainCenter.BLL
{
   
	
	public partial class AddressInfoService : BaseService<AddressInfo>,IAddressInfoService
    {
        public override bool SetCurrentRepository()
        {
            //设置处理当前请求的仓储
            this.CurrentRepository = DbSessionContext.AddressInfoRepository;
            return true;
        }
    }   
	
	public partial class CityInfoService : BaseService<CityInfo>,ICityInfoService
    {
        public override bool SetCurrentRepository()
        {
            //设置处理当前请求的仓储
            this.CurrentRepository = DbSessionContext.CityInfoRepository;
            return true;
        }
    }   
	
	public partial class ProvinceInfoService : BaseService<ProvinceInfo>,IProvinceInfoService
    {
        public override bool SetCurrentRepository()
        {
            //设置处理当前请求的仓储
            this.CurrentRepository = DbSessionContext.ProvinceInfoRepository;
            return true;
        }
    }   
	
	public partial class UserInfoService : BaseService<UserInfo>,IUserInfoService
    {
        public override bool SetCurrentRepository()
        {
            //设置处理当前请求的仓储
            this.CurrentRepository = DbSessionContext.UserInfoRepository;
            return true;
        }
    }   
	
}